| API Documentation |  |

- MAIN PAGE
- NAMESPACES
- CLASSES

RenderStrategy.h
1 // RenderStrategy.h
3 //
5
6 namespace nkGraphics
7 {
16 class RenderStrategy
17 {
18 public :
19
20 // Constructor, destructor
24 RenderStrategy () ;
28 virtual ~RenderStrategy () ;
29
30 // Execution
39 virtual RenderCommandQueue bakeRenderCommandQueue (Shader* shader, bool transparent) = 0 ;
40
41 // Events
50 virtual void updateAddRenderSlot (Entity* ent, const EntityRenderInfoSlot* slot) = 0 ;
59 virtual void updateEraseRenderSlot (Entity* ent, const EntityRenderInfoSlot* slot) = 0 ;
60 } ;
61 }
nkGraphics::RenderStrategy::RenderStrategy
RenderStrategy()
nkGraphics::RenderStrategy::updateEraseRenderSlot
virtual void updateEraseRenderSlot(Entity *ent, const EntityRenderInfoSlot *slot)=0
nkGraphics::RenderStrategy
A render strategy, used by a render queue to prepare the render commands.
Definition: RenderStrategy.h:17
nkGraphics::RenderStrategy::~RenderStrategy
virtual ~RenderStrategy()
nkGraphics::RenderStrategy::bakeRenderCommandQueue
virtual RenderCommandQueue bakeRenderCommandQueue(Shader *shader, bool transparent)=0
nkGraphics::Shader
A shader class, feeding data to a Program.
Definition: Shader.h:16
nkGraphics::Entity
An entity in a render queue. It drives the shader and possible graph position for a set of renderable...
Definition: Entity.h:15
nkGraphics::RenderCommandQueue
A queue of rendering commands.
Definition: RenderCommandQueue.h:12
nkGraphics::RenderStrategy::updateAddRenderSlot
virtual void updateAddRenderSlot(Entity *ent, const EntityRenderInfoSlot *slot)=0
nkGraphics::EntityRenderInfoSlot
A slot within the render information.
Definition: EntityRenderInfoSlot.h:14
nkGraphics
Encompasses all API of component NilkinsGraphics.
Definition: BoundingBox.h:7